import request from '@/utils/request'

// 查询用户经验明细列表
export function listUserExperience(query) {
  return request({
    url: '/system/userExperience/list',
    method: 'get',
    params: query
  })
}

// 查询用户经验明细详细
export function getUserExperience(id) {
  return request({
    url: '/system/userExperience/' + id,
    method: 'get'
  })
}

// 新增用户经验明细
export function addUserExperience(data) {
  return request({
    url: '/system/userExperience',
    method: 'post',
    data: data
  })
}

// 修改用户经验明细
export function updateUserExperience(data) {
  return request({
    url: '/system/userExperience',
    method: 'put',
    data: data
  })
}

// 删除用户经验明细
export function delUserExperience(id) {
  return request({
    url: '/system/userExperience/' + id,
    method: 'delete'
  })
}

// 导出用户经验明细
export function exportUserExperience(query) {
  return request({
    url: '/system/userExperience/export',
    method: 'get',
    params: query
  })
}